package com.rentalcar.rental_car.dao;

import com.rentalcar.rental_car.entity.Role;
import org.apache.ibatis.annotations.Mapper;


import java.util.List;

@Mapper
public interface RoleMapper {
    List<Role> getRoleAll();
    List<Role> selectByName(String rname);
    int add(Role role);
    int update(Role role);
    int delete(Role role);
    Role loginCheck(Role role);
    int updateToken(Role role);
}
